{extend name="public/layer_base" /}
{block name='content'}

<div class="layui-fluid x-admin-sm">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body ">
                    <table class="layui-table layui-form">
                        <thead>
                            <tr>
                                <th>字段名</th>
                                <th>类型</th>
                                <th>排序规则</th>
                                <th>是否为空</th>
                                <th>是否为主键</th>
                                <th>默认值</th>
                                <th>更多信息</th>
                                <th>备注</th>
                        </thead>
                        <tbody>
                            {foreach name="data" id="item"}
                            <tr>
                                <td>{$item.name}</td>
                                <td>{$item.type}</td>
                                <td>{$item.collation}</td>
                                <td>{$item.null}</td>
                                <td>{$item.key}</td>
                                <td>{$item.default}</td>
                                <td>{$item.extra}</td>
                                <td>{$item.comment}</td>
                            </tr>
                            {/foreach}
                        </tbody>
                    </table>

                </div>

            </div>
        </div>
    </div>
    {/block}